package com.sgzn.sgpay.service.tcp;

/**
 * Created by xxjs-gd-llf
 * DATETIME:2018/4/16 22:07
 * Description:
 */
public class SgTcpProtocolHead {

    public final static String DEFAULT_PROTOCOL_CHECKSUM="sg";
    public  final static String TCP_PROTOCOL_SEPERATOR="\\|";
    public  final static String TCP_SEND_SEPERATOR="|";
   public  final static String TCP_PROTOCOL_NEWLINE=System.getProperty("line.separator");


    public final static String TCP_PROTOCOL_HEAD="$*#";
    public final static String TCP_PROTOCOL_END="$*&";

    public  final static String TCP_LOGIN_REQUEST="login";
    public final static String TCP_LOGIN_RESPONSE="loginack";

    public final static String TCP_LOGIN_CHECK_REQUEST="register";
    public   final static String TCP_LOGIN_CHECK_RESPONSE="registerack";

    public  final static String TCP_HEARTBEAT_REQUEST="heartbeat";
    public final static String TCP_HEARTBEAT_RESPONSE="heartbeatack" ;

    public final static String TCP_CONSUME_REQUEST="increase";
    public  final static String TCP_COSUME_RESPONSE="increaseack";


    public   final static String TCP_REFUND_REQUEST="decrease";
    public final static String TCP_REFUND_RESPONSE="decreaseack";


    public final static String TCP_SERIAL_SEND="serialsrv";
    public final static String TCP_SERIAL_ACK="serialcli";






}

